#pragma once

#include "Types.h"

namespace Vortex { namespace Wrapper { namespace Direct3D {

	public value struct ImageInfo {
		UINT                    Width;
		UINT                    Height;
		UINT                    Depth;
		UINT                    MipLevels;
		D3DFormat				Format;
		D3DResourceType			ResourceType;
		D3DXImageFileFormat		ImageFileFormat;

		ImageInfo(D3DXIMAGE_INFO* ii) {
			Width = ii->Width;
			Height = ii->Height;
			Depth = ii->Depth;
			MipLevels = ii->MipLevels;
			Format = (D3DFormat)ii->Format;
			ResourceType = (D3DResourceType)ii->ResourceType;
			ImageFileFormat = (D3DXImageFileFormat)ii->ImageFileFormat;
		}
	};

}}}